%YAML 1.2
---
# YAML language service from http://www.yatools.net
# This document is a mapping of key/value pairs...

'Key 1': 'Value 1'  # Generates a dictionary entry
                    # ':' character separates the two
                    # But we can make it easier than that...
Key 2: Value 2      # quotes aren't generally needed
                    # even for values that contain spaces!
                    # The editor highlights things
                    # to make it easier to understand.

Plain Text: Just type.  Indentation matters in block mode.
  
  Because it's indented, this text is all still
  part of the same 'Plain Text' value.  Word wrap the text
  as convent for you, the indentation gets stripped
  and lines get combined with just one space 
  between them, unless a blank line (like above) to force 
  a newline.

Single Quotes: 'Allow special characters like ", -, and : 
  without much effort.   The only tricky thing is single 
  quotes inside single quotes.   Color highlighting
  makes it easy to see what''s happening.'

Double Quotes: "Complement single quotes.  Similar to 
  single quotes, but double quotes inside double quotes 
  are done \"C\" style.\n\nOther 'C' style escapes are 
  allowed, but just inside double quotes."

Nested Sequence (a list):
  - Alpha
  - Beta
  - The '-' (at a specific indent level) acts as 
    list item separator for that level.
  - Items 

Nested Mapping (a dictionary):
  One: 1
  Two: 2
  Three: 3

Literal Scalar: |
  The vertical bar character | introduces a block literal.
  The following text, which must be indented, is 
  interpreted literally, line breaks are preserved.
  
  This makes literal style good for text where line
  breaks matter.

# As opposed to the block style, flow style uses explicit
# indicator characters rather than indentation and line 
# breaks to structure the data:

Flow sequence: [ 1, 2, 3, 4]

Flow mapping: { Name: value, Name2: value2 }
